A5Storage::NameCache Find Method
Syntax
.Find as L (Key as C, BYREF Value as C)
Arguments
- KeyCharacter
The name of the connection string cached in the NameCache object.
- BYREF ValueCharacter
The connection string found.
Returns
- ResultLogical
Returns .T. if the operation succeeds, otherwise .F. (see .CallResult for additional error information.)
Description
Get the cached connection string for the specified key. If no item exists for the key, connection string will be blank.
Example
dim Cache as A5Storage::NameCache dim ConnectionString as C if Cache.Find("MyName", ConnectionString) ' do stuff here else ' An error occured showvar("Oops!" + crlf() + Cache.CallResult.Text) end if